clear;clc;

%%
fg=EquipmentControl.AuxiliaryEquipment.FluxGate('COM4');

%% Measurement 1: positive direction
xList_pos = 0:10:50;
magB_pos = fg.line_measurement(xList_pos, 'Positive Direction');

%% Measurement 2: negative direction
xList_neg = 0:10:50;
magB_neg = fg.line_measurement(xList_neg, 'Negative Direction');

%% Plot and Save data
